const http = uni.$u.http

//登录
export const savePhoneNews = (params) => http.post(`/api/user/save-phone`, params)

//登录
export const loginHttp = (params) => http.post(`/api/login-mini`, params)

export const indexHttp = (params) => http.post(`/api/index`, params)

export const memberIndexHttp = (params) => http.post(`/api/member/index`, params)

export const memberOrderCreateHttp = (params) => http.post(`/api/member-order/create`, params)

export const userInfoHttp = (params) => http.post(`/api/user/info`, params)

export const genealogyDataInfoHttp = (params) => http.post(`/api/genealogy-data/info`, params)

export const genealogyCreateHttp = (params) => http.post(`/api/genealogy/create`, params)

export const genealogyInfoHttp = (params) => http.post(`/api/genealogy/info`, params)

export const familyTreeHttp = (params) => http.post(`/api/genealogy-data/family-tree`, params)

export const genealogyAddHttp = (params) => http.post(`/api/genealogy-data/add`, params)

export const userRealHttp = (params) => http.post(`/api/user/real`, params)

export const withdrawHttp = (params) => http.post(`/api/withdraw/submit`, params)

export const examineIndexHttp = (params) => http.post(`/api/examine/index`, params)

export const smsHttp = (params) => http.post(`/api/sms`, params)

export const loginPhoneHttp = (params) => http.post(`/api/login-phone`, params)

export const genealogyDataUpdateHttp = (params) => http.post(`/api/genealogy-data/update`, params)

export const genealogyGenerationListHttp = (params) => http.post(`/api/genealogy-generation/index`, params)

export const genealogyGenerationAddHttp = (params) => http.post(`/api/genealogy-generation/add`, params)

export const exportHttp = (params) => http.post(`/api/export`, params)

export const importHttp = (params) => http.post(`/api/import`, params)

export const memorialIndexHttp = (params) => http.post(`/api/memorial/index`, params)